package com.gree.service.imp;

import com.gree.dao.MstM001CompanyDao;
import com.gree.entity.MstM001Company;
import com.gree.service.IMstM001CompanyService;
import org.springframework.stereotype.Service;
import org.springframework.beans.factory.annotation.Autowired;

@Service("companyService")
public class MstM001CompanyServiceImpl implements IMstM001CompanyService {
	@Autowired
	private MstM001CompanyDao mstM001CompanyDao;

	public MstM001CompanyDao getMstM001CompanyDao() {
		return this.mstM001CompanyDao;
	}

	public void setMstM001CompanyDao(MstM001CompanyDao mstM001CompanyDao) {
		this.mstM001CompanyDao = mstM001CompanyDao;
	}
 
	@Override
	public MstM001Company checkCompCodePower(MstM001Company obj) {
		return mstM001CompanyDao.checkCompCodePower(obj);
	}

	@Override
	public MstM001Company checkCompCodeExists(String companyId) {
		return mstM001CompanyDao.checkCompCodeExists(companyId);
	}
 
}